package com.wkbb.basic.service;

import com.wkbb.basic.utils.jvt.JvtBoxBean;

/**
 * @author Alger Yang
 * @date 2019/9/25 002513:46
 */
public interface JvtBoxService {

    JvtBoxBean getJvtBoxInfo(String uuid) throws Exception;

    JvtBoxBean syncJvtTime(String uuid) throws Exception;

    JvtBoxBean setJvtParams(String uuid) throws Exception;

    JvtBoxBean getJvtParams(String uuid) throws Exception;

    JvtBoxBean getJvtPersonList(String uuid, Integer personType) throws Exception;

    JvtBoxBean getJvtPerson(String uuid, Integer personType, String personId, Boolean getPhoto) throws Exception;

    JvtBoxBean addJvtPerson(String uuid, Integer personType, String personId, String image) throws Exception;

    void pushAddJvtPersonTask(String uuid, Integer personType, String personId, String faceUrl);

    void pushDeleteJvtPersonTask(String uuid, Integer personType, String personId);

    void pushDeleteJvtPersonListTask(String uuid, Integer personType);

    JvtBoxBean deleteJvtPersonList(String uuid, Integer personType) throws Exception;

    JvtBoxBean deleteJvtPerson(String uuid, Integer personType, String personId) throws Exception;

    JvtBoxBean registerJvtBox(JvtBoxBean jvtBoxBean);

    JvtBoxBean heartbeatJvtBox(JvtBoxBean jvtBoxBean);

    boolean isJvtBoxAlive(String uuid);

    String getTaskKey(String uuid);
}
